package com.xiaoyu.lanling.feature.guard.viewholder

import `in`.srain.cube.views.list.CubeRecyclerViewSimpleAdapter
import com.xiaoyu.lanling.feature.guard.datamodel.BaseGuardItem

class GuardViewHolderManager {
    companion object{
        const val TYPE_GUARD = 1
        const val TYPE_MY_GUARD = 2

        fun bindViewHolder(adapter: CubeRecyclerViewSimpleAdapter<BaseGuardItem>) {
            adapter.setViewHolderClass(TYPE_GUARD, null, GuardViewHolder::class.java, 9)
            adapter.setViewHolderClass(TYPE_MY_GUARD, null, MyGuardViewHolder::class.java, 9)
        }
    }
}